package com.dstz.bpm.api.engine.action.cmd;

import com.alibaba.fastjson.JSONObject;
import com.dstz.bpm.api.model.inst.IBpmInstance;
import com.dstz.bus.api.model.IBusinessData;
import com.dstz.sys.api.model.SysIdentity;
import java.util.List;
import java.util.Map;

public interface ActionCmd {
   String DATA_MODE_PK = "pk";
   String DATA_MODE_BO = "bo";

   Map<String, Object> getActionVariables();

   void setActionVariables(Map<String, Object> var1);

   Map<String, Object> getVariables();

   void addVariable(String var1, Object var2);

   Object getVariable(String var1);

   boolean hasVariable(String var1);

   void removeVariable(String var1);

   Map<String, List<SysIdentity>> getBpmIdentities();

   List<SysIdentity> getBpmIdentity(String var1);

   void setBpmIdentity(String var1, List<SysIdentity> var2);

   String getDataMode();

   void setDataMode(String var1);

   void setBusData(JSONObject var1);

   JSONObject getBusData();

   String getBusinessKey();

   void setBusinessKey(String var1);

   String getActionName();

   void setActionName(String var1);

   String getDefId();

   IBpmInstance getBpmInstance();

   String getDestination();

   String getFormId();

   Map<String, IBusinessData> getBizDataMap();

   String executeCmd();
}
